#ifndef MYPUSHBUTTON_H
#define MYPUSHBUTTON_H

#include <QPushButton>
#include <QString>

class MyPushButton : public QPushButton
{
    Q_OBJECT
public:
    explicit    MyPushButton(const QString& normalImage,const QString& pressImage = "",QWidget* parent = nullptr);
    void        zoom1();
    void        zoom2();
    void        mousePressEvent(QMouseEvent* ev) override;
    void        mouseReleaseEvent(QMouseEvent* ev) override;
signals:
public slots:
private:
    QString  m_NormalImage;
    QString  m_PressImage;
};

#endif // MYPUSHBUTTON_H
